package com.itheima.admin.fagin;

import com.itheima.admin.pojo.AdChannel;
import com.itheima.common.vo.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "leadnews-admin",contextId = "adminFagin")
public interface AdChannelFagin {
    @GetMapping("/channel/list")
    public ResultVo<List<AdChannel>> findChannel();
}
